home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
The World of Computer Software.iso
/
porttool.zoo
/
pr.man
< prev
next >
Wrap
Text File
|
1992-12-03
|
4KB
|
78 lines
NNAAMMEE
pr - prepare file(s) for printing
SSYYNNOOPPSSIISS
pprr [ -hprt ] [ -c_k ] [ -e_k ] [ -m _s_t_r_i_n_g ] [ -l_n ] [ -n_k ] [ -o_k ]
[ -w_k ] [ _f_i_l_e ] ...
DDEESSCCRRIIPPTTIIOONN
pprr prepares one or more _f_i_l_es for printing. By default, the output
is separated into pages headed by a date, the name of the file, and
the page number. pprr prints its standard input if there are no _f_i_l_e
arguments. Formfeed characters in the input files cause page
breaks in the output, as expected.
OOPPTTIIOONNSS
Options apply to all following _f_i_l_es:
--hh Display a short help message.
--pp Pause before beginning each page (after the first) if
the output is directed to a terminal. pprr will ring the
bell at the terminal and wait for a RETURN.
--rr Do not print error messages if a file cannot be opened.
--tt Prepare the output as two-column landscape for a H-P
LaserJet printer, and output directly to the printer
port. This option sets the page length to 56 lines,
forces wrapping at 80 columns, and disables pausing
(--pp switch).
--cc_k Clip lines at _k character positions. If _k is 0 or is
omitted, _k will default to 72.
--ee_k Expand TAB characters to _k character positions. If _k
is 0 or is omitted, _k will default to 8. Without --ee,
TAB characters are not expanded, but are printed
literally (default).
--hh _s_t_r_i_n_g Use _s_t_r_i_n_g, instead of the file name, in the page
header. _s_t_r_i_n_g must be quoted if it contains spaces.
--ll_n Take the length of the page to be _n lines instead of
the default 66.
--nn_k Provide _k-digit line numbering. If _k is 0 or is
omitted, _k will default to 5. The number occupies the
first _k+2 character positions of each line of output,
as each number is followed by a colon (:) and a space
character. Wrapped lines are not numbered, but are
offset the same amount as numbered lines.
--oo_k Offset each line by _k character positions, including
the page header lines. Wrapped lines are also offset.
--ww_k Wrap lines at _k character positions. If _k is 0 or is
omitted, _k will default to 72.
EEXXAAMMPPLLEESS
Print _p_r_._c with four-column tabs, wrapping at column 60:
pprr --ee44 --ww6600 pprr..cc
Print _r_a_l_p_h on screen, pausing every 24 lines:
pprr --pp --ll2244 rraallpphh
Print _w_i_n_d_o_w_s_._h two-up on the HP LaserJet, with a special message:
pprr --tt --mm ""TThhiiss ccoouulldd hhaappppeenn ttoo yyoouu.."" wwiinnddoowwss..hh
Print all _._h files with eight-column tabs, clipping at column 72:
pprr --ee --cc **..hh
CCooppyyrriigghhtt ((cc)) FFrraannkk WWhhaalleeyy 11999922.. AAllll rriigghhttss rreesseerrvveedd..